package code.google.jcontainer.test.constraint;

import code.google.jcontainer.test.simple.SimpleBean;

/**
 * @author <a href="mailto:jfox.young@gmail.com">Young Yang</a>
 * @create 2009-12-21 16:05:58
 */
@SimpleBean(name = "SimpleTestBean2")
public class SimpleTestBean2 {

    private int age = 0;

    public String toString() {
        return "I'm " + this.getClass().getSimpleName();
    }

    public int getAge() {
        return age;
    }

    @IntegerConstraint(min = 0, max = 100)
    public void setAge(int age) {
        this.age = age;
    }
}